﻿using Ops.Host.App.UserControls;

namespace Ops.Host.App.Management;

/// <summary>
/// 左侧菜单管理
/// </summary>
public sealed class MenuManager
{
    /// <summary>
    /// 获取菜单
    /// </summary>
    public static MenuItemModel[] Menus => new[]
    {
        new MenuItemModel("ColorWheel_16x.png", "控制台", typeof(KibanaCtl), true),
        new MenuItemModel("Procedure_16x.png", "字典数据", typeof(DictDataCtl), false),
        new MenuItemModel("TextBox_16x.png", "卡号管理", typeof(CardCtl), false),
        new MenuItemModel("Tag_16x.png", "打标数据", typeof(MarkingCtl)),
        new MenuItemModel("LinearCarousel_16x.png", "警报记录", typeof(AlarmRecordCtl), false),
        new MenuItemModel("Search_16x.png", "刷卡记录", typeof(CardRecordCtl), false),
        new MenuItemModel("ContextMenu_16x.png", "点检信息", typeof(SpotCheckCtl)),
        new MenuItemModel("Carousel_16x.png", "能耗记录", typeof(EnergyConsumeCtl)),
    };
}
